<%--
  Created by IntelliJ IDEA.
  User: join
  Date: 2019-10-16
  Time: 15:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<div id="header" class="wrap">
    <div id="logo"><img src="${basePath}/images/logo.gif" /></div>

    <div class="help">
        <c:if test=" ${ empty username}"><span>请登录</span></c:if>
        <c:if test="${ ! empty username}">
            <span>欢迎${username}</span>
            <a href="${basePath}/index/cancellation">注销</a>
        </c:if>

        <a href="#" class="shopping">购物车</a>
        <a href="${basePath}/index/login">登录</a>

        <a href="${basePath}/index/register">注册</a>
        <a href="${basePath}/guestbook/listHomeByPage">留言</a>
    </div>
    <div class="navbar">

        <ul class="clearfix">
            <li class="current"><a href="${basePath}/index/index">首页</a></li>
            <li><a href="#">图书</a></li>
            <li><a href="#">百货</a></li>
            <li><a href="#">品牌</a></li>
            <li><a href="#">促销</a></li>
        </ul>

    </div>
</div>
